#pragma mark - font
#define FONT_HELVETICALNEUE_BOLD_SETTING(__s__)         [UIFont fontWithName:@"HelveticaNeue-Bold" size:__s__]
#define FONT_HELVETICALNEUE_SETTING(__s__)              [UIFont fontWithName:@"HelveticaNeue" size:__s__]

#define MRScreenWidth                                   CGRectGetWidth([UIScreen mainScreen].applicationFrame)
#define MRScreenHeight                                  CGRectGetHeight([UIScreen mainScreen].applicationFrame)
#define SHOP_TYPE_UNKNOWN                               0
#define SHOP_TYPE_MAIN                                  1
#define SHOP_TYPE_LIFE                                  2
#define SHOP_TYPE_FASHION                               3
#define SHOP_TYPE_CHILDREN                              4
#define SHOP_TYPE_FOOD                                  5

#define FACILITY_NO_NDB                                 1
#define FACILITY_NO_ESCALATOR                           2
#define FACILITY_NO_LIFT                                3
#define FACILITY_NO_TOILETS                             4
#define FACILITY_NO_DISABLED_TOILETS                    5
#define FACILITY_NO_MCR                                 6
#define FACILITY_NO_CASHIER                             7
#define FACILITY_NO_CSC                                 8
#define FACILITY_NO_PARKING                             9
#define FACILITY_NO_PAYMENT_CETENR                      10//缴费中心，新增2014-04-15
#define OFFSET_X                                        .0f
#define OFFSET_Y                                        85.0f
#define RATIO                                           (320.0f / 12.0f) * 1.0f
#define MAP_HEIGHT                                      10.0f

#define RGBA(__r__, __g__, __b__, __a__)                [UIColor colorWithRed:__r__/255.0 green:__g__/255.0 blue:__b__/255.0 alpha:__a__]

#define COLOR_MAP_UNKNOWN                               [UIColor colorWithRed:202.0f/255.0f green:205.0f/255.0 blue:196.0f/255.0 alpha:1]
#define COLOR_MAP_MAIN                                  [UIColor colorWithRed:176.0f/255.0f green:118.0f/255.0 blue:166.0f/255.0 alpha:1]
#define COLOR_MAP_LIFE                                  [UIColor colorWithRed:186.0f/255.0f green:168.0f/255.0 blue:115.0f/255.0 alpha:1]
#define COLOR_MAP_FASHION                               [UIColor colorWithRed:102.0f/255.0f green:169.0f/255.0 blue:214.0f/255.0 alpha:1]
#define COLOR_MAP_CHILDREN                              [UIColor colorWithRed:138.0f/255.0f green:166.0f/255.0 blue:164.0f/255.0 alpha:1]
#define COLOR_MAP_FOOD                                  [UIColor colorWithRed:233.0f/255.0f green:153.0f/255.0 blue:144.0f/255.0 alpha:1]

#define COLOR_MAP_PARKING                               [UIColor colorWithRed:255.0f/255.0f green:251.0f/255.0 blue:214.0f/255.0 alpha:1]
#define COLOR_MAP_BUILDING                              [UIColor colorWithRed:199.0f/255.0f green:198.0f/255.0 blue:197.0f/255.0 alpha:1]
#define COLOR_MAP_FRAME                                 [UIColor colorWithRed:155.0f/255.0f green:155.0f/255.0 blue:155.0f/255.0 alpha:1]


#pragma mark - uiimage

#define BACK_IMAGE_NORMAL                               [UIImage imageNamed:@"img_back.png"]
#define BACK_IMAGE_SELECTED                             [UIImage imageNamed:@"img_back.png"]
#define FACILITY_IMAGE_NDB                              [UIImage imageNamed:@"品牌导航.png"]
#define FACILITY_IMAGE_ESCALATOR                        [UIImage imageNamed:@"扶手电梯.png"]
#define FACILITY_IMAGE_LIFT                             [UIImage imageNamed:@"垂直电梯.png"]
#define FACILITY_IMAGE_TOILETS                          [UIImage imageNamed:@"洗手间.png"]
#define FACILITY_IMAGE_DISABLED_TOILETS                 [UIImage imageNamed:@"残障洗手间.png"]
#define FACILITY_IMAGE_MCR                              [UIImage imageNamed:@"母婴室.png"]
#define FACILITY_IMAGE_CASHIER                          [UIImage imageNamed:@"收银台.png"]
#define FACILITY_IMAGE_CSC                              [UIImage imageNamed:@"顾客服务中心.png"]
#define FACILITY_IMAGE_PARKING                          [UIImage imageNamed:@"停车场.png"]
#define FACILITY_IMAGE_PAYMENT_CENTER                   [UIImage imageNamed:@"收银台.png"]
#pragma mark ------------------------------- 屏幕


#define kDeviceHeight [UIScreen mainScreen].bounds.size.height
#define kDeviceWidth  [UIScreen mainScreen].bounds.size.width
#define getRightView(view) view.frame.size.width+view.frame.origin.x
#define getBottomView(view) view.frame.size.height+view.frame.origin.y
#pragma mark ------------------------------- ///** 抽屉视图高度 */
#define ACNavBarDrawer_scene_Height kDeviceHeight-64-44-40


#pragma mark -------------------------------  获得颜色
#define kGetColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]

#pragma mark -------------------------------  加载nib文件
#define LOAD_NIB(_NibName_) [[NSBundle mainBundle] loadNibNamed:_NibName_ owner:nil options:nil][0]
#pragma mark -------------------------------  /**字体*/
#define FONT(size)                                     [UIFont systemFontOfSize:size]
#pragma mark -------------------------------  /**每页数据量*/
#define PageSize   10

#define UmengAppkey @"5664fedbe0f55a03eb0016dd"     //友盟key

#pragma mark -------------------------------  数据库
//购物车
#define k_DB_NAME                    @"PeopleStreet.sqlite"
#define CORT_TABLENAME               @"SX_ShoppingCart"
#define CORT_NAME                    @"productCartName"
#define CORT_Id                      @"productCartId"
#define CORT_ImageName               @"productCartImageName"
#define CORT_Price                   @"productCartPrice"
#define CORT_Count                   @"productCartCount"
#define CORT_Norms                   @"productNorms"
#define CORT_NormsValue              @"productNormsValue"
//收藏
#define COLLECT_TABLENAME            @"SX_ProductCollect"
#define COLLECT_discount             @"productDiscount"   //折扣
#define COLLECT_BuyCount             @"productBuyCount"   //购买人数
//  登录 KEY
#define UserInfo                                  @"userinfo_userinfo"
#pragma mark -------------------------------  分享地址
#define QW_SHARE_ADRESS                    @"http://qw.lionkeji.com/download.html"
#define Key_User_nickname                         @"nickname"    //昵称
#define Key_User_password                         @"password"  //用户密码
#define Key_User_userId                           @"userId"      //用户id
#define Key_User_userPhone                        @"userPhone"      //用户电话号码
#define Key_User_museBirthday                     @"museBirthday"    //生日
#define Key_User_museIntegration                  @"museIntegration"    //积分
#define Key_User_museRegisterDate                 @"museRegisterDate"    //注册日期
#define Key_User_suseType                         @"suseType"  //用户类型：管理员----1  VIP用户----2   业主----4  商铺用户----8 普通用户----16
#define Key_User_head                             @"head"        //头像
#define Key_User_suseIdDelete                     @"suseIdDelete"        //是否启用  1：启用    0 ：停用



//点菜类型选择
#define   Notification_SearchFreshTypeChoice        @"SearchFreshTypeChoice"
//点菜排序选择
#define   Notification_SearchFreshSortChoice        @"SearchFreshSortChoice"
//套餐类型 6 精品5
#define   Notification_ProductTypeChoice            @"ProductTypeChoice"
//图库点击小图片图片下标传递
#define   Notification_TransmitPhotoIndex            @"TransmitPhotoIndex"
//图库滑动大图图片下标传递
#define   Notification_TransmitBigPhotoIndex         @"TransmitBig PhotoIndex"
//产品页跳转购物车页面
#define   Notification_ProductGotoBasketPage        @"ProductGotoBasketPage"
//跳转我的订单
#define   Notification_ProductGotoMyOrderPage       @"ProductGotoMyOrderPage"
